Skip to content

added Neo4j container - #56

Merged
tillahoffmann merged 10 commits into
testcontainers:masterfrom
eastlondoner:master
Aug 17, 2020
Merged

tillahoffmann merged 10 commits into
testcontainers:masterfrom
eastlondoner:master

Conversation

@eastlondoner

Copy link
Copy Markdown
Contributor

Let me know if you'd like anything else for this.

@codecov-io

codecov-io commented Jan 23, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #56 into master will increase coverage by 1.03%.
The diff coverage is 93.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   83.24%   84.27%   +1.03%     
==========================================
  Files          19       20       +1     
  Lines         376      407      +31     
  Branches       23       24       +1     
==========================================
+ Hits          313      343      +30     
- Misses         48       49       +1     
  Partials       15       15
Impacted Files Coverage Δ
testcontainers/neo4j.py 93.54% <93.54%> (ø)
testcontainers/core/waiting_utils.py 94.28% <0%> (+2.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update da691bd...9243597. Read the comment docs.

@eastlondoner

Copy link
Copy Markdown
Contributor Author

I've implemented my own equivalent of wait_for_logs but can switch to use the one from #55 when available

@tillahoffmann

Copy link
Copy Markdown
Contributor

@eastlondoner, #55 has now been merged if you want to use that version of wait_for_logs.

@eastlondoner

Copy link
Copy Markdown
Contributor Author

@tillahoffmann thanks, I've updated the PR :-)

@tillahoffmann tillahoffmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one small suggestion to keep the naming similar across different containers. Conflicts also need to be resolved.

Sorry this took so long.

Comment thread testcontainers/neo4j.py Resolved
Comment thread tests/test_db_containers.py Resolved
@eastlondoner

Copy link
Copy Markdown
Contributor Author

@tillahoffmann I've rebased, updated the code and added basic docs.

I re-built the requirements files which pulled in a load of updated dependencies, I hope that's OK.

@eastlondoner

Copy link
Copy Markdown
Contributor Author

@tillahoffmann so that requirements update makes the docker client too new for the CI server. So I'll pin docker-compose for now ... new commit incoming.

@tillahoffmann

tillahoffmann commented Aug 17, 2020 •

Copy link
Copy Markdown
Contributor

Yes, it looks a bit fiddly. It looks like it might be docker rather than docker-compose (some of the tests failing don't use compose). Fancy adding the pinned version to requirements.in rather than setup.py (that'll mean people can still install a newer version on their machine if they want)?

@eastlondoner

Copy link
Copy Markdown
Contributor Author

OK. I manually pinned the docker version in requirements.in Looks like CI is working now :-)

@tillahoffmann

Copy link
Copy Markdown
Contributor

Great! I'll try to send you a PR to the PR to make sure we don't have the same problem in the future. Shouldn't be long.

@tillahoffmann

Copy link
Copy Markdown
Contributor

eastlondoner#1

Restrict docker version in requirements.in.
@tillahoffmann
tillahoffmann merged commit 657ec29 into testcontainers:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants